﻿namespace Eucritta
{
    #region Namespaces
    using System;
    using ODataValidator.RuleEngine;
    #endregion

    class SimpleReport : IResultProvider
    {
        public void Accept(TestResult result)
        {
            Console.WriteLine("\tresult={0}; name={1}", result.Classification, result.RuleName);
        }

        public void JobCompleted(bool errorOccurred)
        {
        }

        public void PrintJobHeader(ServiceContext ctx)
        {
            Console.WriteLine("Job={0}", ctx.JobId.ToString());
            Console.WriteLine("Target={0}", ctx.Destination.AbsoluteUri);
        }
    }
}
